﻿@model PessModel.Registration

@{
    ViewBag.Title = "Registration Summary";
}

<h2>Registration Summary</h2>
@if (Model != null && Model.Status > 0)
{ 
<fieldset class="show">
    <div class="heading" style="margin-top:-15px;">
        Registration completed
    </div>
    <br/>
    <p>Thank you for your registration!</p>

    <p>Registration onfirmation number: <strong>@Model.PayId</strong></p>

    <p>Registered on: <strong>@Model.OverTime</strong></p>

    <p>Paid amount: <strong>¥@Model.Paid.Value.ToString("N")</strong></p>

    <p>Pay type: <strong>@Model.PayType</strong></p>

    <p> A confirmation email has been sent to <strong>@User.Identity.Name</strong>. Please check your email and print a copy of the email for your own record.</p>

    </fieldset>
}
else
{
    <p>Payment declined.</p>
    <p>@ViewBag.Error</p>
}
    <p>
        @Html.ActionLink("Back to Home", "Index", "Author")
    </p>


